package com.hotel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotel.entity.ShoppingCar;
import com.hotel.dto.ShoppingCarDTO;
import com.hotel.vo.ShoppingVo;

import java.util.List;

public interface ShoppingService extends IService<ShoppingCar> {


    List<ShoppingVo> getAll();

    List<ShoppingVo> add(ShoppingCarDTO shoppingCarDTO);

    List<ShoppingVo> sub(ShoppingCarDTO shoppingCarDTO);

    List<ShoppingVo> deleteAll(Long userId);

}
